import Tools from 'tools/index';
import apiConfig from "./../apiConfig";
export default {
     


    // 选择地址
    async SelectAddressMap(params_) {
        if (!this.isError(params_)) return
        // 打开加载遮罩层
        Tools.setLoad(true);
        let _d = await import("./index.js");
     

        // 关闭加载遮罩层
        Tools.setLoad(false);
        _d.default.init({
            appWindow: params_.appWindow,
            selected: params_.addressInfo,
            apiConfig: this.setConfig(params_.apiConfig, apiConfig),
            onSuccess: (r) => {
                params_.onSuccess(r)
            },
        })
    },


}